import Axios from "./index.ts";

export const AdminLogin = (param) => {
  return Axios({
    url: "/General/AdminLogin",
    method: "post",
    data: param,
  });
};
export const AdminPassword = (param) => {
  return Axios({
    url: "/General/AdminPassword",
    method: "post",
    data: param,
  });
};

export const ClassificationSelectAll = (param?) => {
  return Axios({
    url: "/General/ClassificationSelectAll",
    method: "post",
    data: param,
  });
};
export const Storage = (param?) => {
  return Axios({
    url: "/General/Storage",
    method: "post",
    data: param,
  });
};
export const ProductSelectLimit = (param?) => {
  return Axios({
    url: "/General/ProductSelectLimit",
    method: "post",
    data: param,
  });
};

export const ProductSelectId = (param?) => {
  return Axios({
    url: "/General/ProductSelectId",
    method: "post",
    data: param,
  });
};

export const StashSelectList = (param?) => {
  return Axios({
    url: "/General/StashSelectList",
    method: "post",
    data: param,
  });
};

export const StockRemoval = (param?) => {
  return Axios({
    url: "/General/StockRemoval",
    method: "post",
    data: param,
  });
};

export const productUpdateClassification = (param?) => {
  return Axios({
    url: "/General/productUpdateClassification",
    method: "post",
    data: param,
  });
};

export const StorageSelectId = (param?) => {
  return Axios({
    url: "/General/StorageSelectId",
    method: "post",
    data: param,
  });
};

export const StorageSelect = (param?) => {
  return Axios({
    url: "/General/StorageSelect",
    method: "post",
    data: param,
  });
};
export const StorageSelectIdEcharts = (param?) => {
  return Axios({
    url: "/General/StorageSelectIdEcharts",
    method: "post",
    data: param,
  });
};
export const StashId = (param?) => {
  return Axios({
    url: "/General/StashId",
    method: "post",
    data: param,
  });
};

export const StashNumberFnProductAll = (param?) => {
  return Axios({
    url: "/General/StashNumberFnProductAll",
    method: "post",
    data: param,
  });
};

export const StashNumberFnProductClassAll = (param?) => {
  return Axios({
    url: "/General/StashNumberFnProductClassAll",
    method: "post",
    data: param,
  });
};

export const StorageSelectTime = (param?) => {
  return Axios({
    url: "/General/StorageSelectTime",
    method: "post",
    data: param,
  });
};
